json.result   true
json.message  "获取限时购成功."
json.data           @seckills do |seckill|
  json.id               seckill.id
  json.start_at         formattime(seckill.start_at, unit: "day")
  json.start_time_at    formattime(seckill.start_at, unit: "noDayOnlyHour")
  json.end_at           formattime(seckill.end_at, unit: "day")
  json.end_time_at      formattime(seckill.end_at, unit: "noDayOnlyHour")
  json.spu              do
    json.id                 seckill.spu.id
    json.name               seckill.spu.name
    json.sales_volume       seckill.spu.sales_volume
    json.avatar             seckill.spu.avatar.url
    json.description        seckill.spu.description
    json.published          seckill.spu.published
    json.promotion          seckill.spu.promotion
    json.seven_day_back     seckill.spu.seven_day_back
    json.genuine_product    seckill.spu.genuine_product
    json.low_promotion_price          seckill.spu.low_promotion_price
    json.high_promotion_price         seckill.spu.high_promotion_price
    json.low_sale_price     seckill.spu.low_sale_price
    json.high_sale_price    seckill.spu.high_sale_price
    json.low_cost_price     seckill.spu.low_cost_price
    json.high_cost_price    seckill.spu.high_cost_price
  end
end